package com.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "post_message")
public class PostMessage {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "post_id")
    private Integer postId;

    @TableField(value = "NO")
    private Integer no;

    @TableField(value = "father_no")
    private Integer fatherNo;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "DATE")
    private String date;

    @TableField(value = "TEXT")
    private String text;

    @TableField(value = "send_type")
    private String sendType;

    @TableField(value = "send_to_user_id")
    private Integer sendToUserId;

    @TableField(value = "send_to_user_nick_name")
    private String sendToUserNickName;

    @TableField(value = "message_checked")
    private Boolean messageChecked;

    public static final String COL_ID = "id";

    public static final String COL_POST_ID = "post_id";

    public static final String COL_NO = "NO";

    public static final String COL_FATHER_NO = "father_no";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_DATE = "DATE";

    public static final String COL_TEXT = "TEXT";

    public static final String COL_SEND_TYPE = "send_type";

    public static final String COL_SEND_TO_USER_ID = "send_to_user_id";

    public static final String COL_SEND_TO_USER_NICK_NAME = "send_to_user_nick_name";

    public static final String COL_MESSAGE_CHECKED = "message_checked";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return post_id
     */
    public Integer getPostId() {
        return postId;
    }

    /**
     * @param postId
     */
    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    /**
     * @return NO
     */
    public Integer getNo() {
        return no;
    }

    /**
     * @param no
     */
    public void setNo(Integer no) {
        this.no = no;
    }

    /**
     * @return father_no
     */
    public Integer getFatherNo() {
        return fatherNo;
    }

    /**
     * @param fatherNo
     */
    public void setFatherNo(Integer fatherNo) {
        this.fatherNo = fatherNo;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return DATE
     */
    public String getDate() {
        return date;
    }

    /**
     * @param date
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * @return TEXT
     */
    public String getText() {
        return text;
    }

    /**
     * @param text
     */
    public void setText(String text) {
        this.text = text;
    }

    /**
     * @return send_type
     */
    public String getSendType() {
        return sendType;
    }

    /**
     * @param sendType
     */
    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    /**
     * @return send_to_user_id
     */
    public Integer getSendToUserId() {
        return sendToUserId;
    }

    /**
     * @param sendToUserId
     */
    public void setSendToUserId(Integer sendToUserId) {
        this.sendToUserId = sendToUserId;
    }

    /**
     * @return send_to_user_nick_name
     */
    public String getSendToUserNickName() {
        return sendToUserNickName;
    }

    /**
     * @param sendToUserNickName
     */
    public void setSendToUserNickName(String sendToUserNickName) {
        this.sendToUserNickName = sendToUserNickName;
    }

    /**
     * @return message_checked
     */
    public Boolean getMessageChecked() {
        return messageChecked;
    }

    /**
     * @param messageChecked
     */
    public void setMessageChecked(Boolean messageChecked) {
        this.messageChecked = messageChecked;
    }
}